package com.tom.architect.day17.simple6;

import android.content.Intent;
import android.os.Bundle;

import com.tom.architect.R;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity1 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main17);

        // 三个参数，先穿个页面2. 再传递给页面3.
        Intent intent = new Intent(this, MainActivity2.class);
        intent.putExtra("params1", "params1");
        intent.putExtra("params2", "params2");
        intent.putExtra("params3", "params3");
        startActivity(intent);
    }

}